﻿using Microsoft.AspNetCore.Builder;
using System;
using Volo.Abp;
using Volo.Abp.Modularity;
using Volo.Abp.Swashbuckle;

namespace Sample.Novel.HttpApi.Host
{
    [DependsOn(
        typeof(AbpSwashbuckleModule))]
    public class NovelHttpApiModule
        :AbpModule
    {
        public override void OnApplicationInitialization(ApplicationInitializationContext context)
        {
            var app = context.GetApplicationBuilder();
            app.UseSwagger();
            app.UseAbpSwaggerUI(
                );
        }

        public override void ConfigureServices(ServiceConfigurationContext context)
        {

        }
    }
}
